home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / asm_msc1.arc / TIPE.ASM < prev    next >
Assembly Source File  |  1988-11-20  |  640b  |  20 lines

  1.  
  2.  
  3. COMMENT #    T.Exe copies a diskette file onto the active video display
  4.         screen - a la TYPE command under DOS 2.0, but responds
  5.         to wildcards (as TYPE does not under 2.0.)    It will
  6.         quit when ESCAPE is hit, page up one line at a time when
  7.         SPACEBAR is hit, and when any other key is hit it will
  8.         clear the screen and page ahead 24 lines.  If no file is
  9.         present in logged disk an error message will be displayed.
  10.             Michael N. Huttner          9-27-83        #
  11.  
  12. print     macro char        ; passes character in AL to display screen
  13.      mov     dl, char
  14.      mov     ah, 2        ; DOS Display character function
  15.      int     21H
  16.      endm
  17.  
  18. d
  19.  
  20.